package edu.sctu.practice.class01.fengleilin.test08;

/**
 * Created by fll on 2015/10/14.
 */
public class Truck extends Vehicles {

    public float load;

    public Truck(String brand, String color,float load) {
        super(brand, color);
        this.load = load;
    }

    public void showTruck(){
        super.showInfo();
        System.out.println("卡车的载重是:" + load + "吨");
    }
}
